home *** CD-ROM | disk | FTP | other *** search
-
- CLOCK(3) UNIX Programmer's Manual CLOCK(3)
-
- NNAAMMEE
- cclloocckk - determine processor time used
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ttiimmee..hh>>
-
- _c_l_o_c_k___t
- cclloocckk(_v_o_i_d)
-
- DDEESSCCRRIIPPTTIIOONN
- The cclloocckk() function determines the amount of processor time used since
- the invocation of the calling process, measured in CLOCKS_PER_SECs.
-
- RREETTUURRNN VVAALLUUEESS
- The cclloocckk() function returns the amount of time used unless an error oc-
- curs, in which case the return value is -1.
-
- SSEEEE AALLSSOO
- getrusage(2)
-
- SSTTAANNDDAARRDDSS
- The cclloocckk() function conforms to ANSI C3.159-1989 (``ANSI C'').
-
- BSD Experimental June 4, 1993 1
-